using System;
using System.Collections.Generic;

namespace FastFoodToNight.Models
{
    public partial class SanPham
    {
        public SanPham()
        {
            this.ChiTietDDHs = new List<ChiTietDDH>();
            this.HinhAnhs = new List<HinhAnh>();
        }

        public int masanpham { get; set; }
        public string tensanpham { get; set; }
        public string mota { get; set; }
        public Nullable<double> dongia { get; set; }
        public Nullable<int> madanhmuc { get; set; }
        public virtual ICollection<ChiTietDDH> ChiTietDDHs { get; set; }
        public virtual DanhMucSanPham DanhMucSanPham { get; set; }
        public virtual ICollection<HinhAnh> HinhAnhs { get; set; }
          public SanPham(int masanpham)
        {
            this.masanpham =masanpham;
        }
    }
}
